﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.Rabbit.DataBase.ErrorCode
{
    /// <summary>
    /// 响应包装类
    /// </summary>
   public class ApiResult<T>
    {
        /// <summary>
        /// 状态提示
        /// </summary>
        public StatusCode code { get; set; }
        /// <summary>
        /// 消息提示
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 返回数据
        /// </summary>
        public T data { get; set; }
    }
}
